<?php
$email = $_POST['email'];
$subject = $_POST['subject'];
$message = $_POST['message'];
$from = $_POST['from'];

mail($email, $subject, $message, "From: " .$from);